Battery fuel gauge apparatus

ABSTRACT

A method comprises coupling a charge phase circuit and a battery phase circuit to a battery, in a charge mode, turning on a plurality of first switches and turning off a plurality of second switches to connect the charge phase circuit to the battery and in a battery mode, turning on the plurality of second switches and turning off the plurality of first switches to connect the battery phase circuit to the battery.

This application is a divisional of U.S. patent application Ser. No. 14/718,469, entitled “Battery Fuel Gauge Apparatus,” filed on May 21, 2015, which is a continuation of U.S. patent application Ser. No. 13/212,588, entitled “Battery Fuel Gauge Apparatus,” filed on Aug. 18, 2011, now U.S. Pat. No. 9,041,353, which application is incorporated herein by reference.

BACKGROUND

A variety of battery powered portable devices, such as mobile phones, notebook computers and the like, have become popular. Each portable device may employ a plurality of rechargeable battery cells. The plurality of rechargeable battery cells may be connected in series or in parallel so as to form a rechargeable battery pack for storing electrical energy. Rechargeable batteries include a variety of types, such as nickel-cadmium (NiCd) batteries, nickel-metal hydride (NiMH) batteries, lithium-ion batteries, lithium-ion polymer batteries, lithium-air batteries, lithium iron phosphate batteries and the like.

Different types of rechargeable battery packs may employ different charging methods to charge from a depleted state to a full charged state using a power source such as an ac/dc adapter or a universal serial bus (USB) port. In order to have a reliable rechargeable battery pack and a long cycle life, the rechargeable battery pack should operate within a safe operation region to which the rechargeable battery pack is specified. Monitoring the remaining capacity of a rechargeable battery pack is an effective way to keep the rechargeable battery pack operating within the safe operation region. More particularly, an accurate estimate of the remaining capacity of the rechargeable battery pack is important to battery pack users to know the amount of energy left in the battery pack and how much more time the battery powered portable device can be used before the battery pack needs recharging. This is commonly referred to as a battery pack's State of Charge (SOC).

The capacity of a rechargeable battery pack can be calculated based upon the electrical charge flowing into the rechargeable battery pack and the electrical current flowing out of the rechargeable battery pack. The electrical charge may be monitored by a battery fuel gauge apparatus. In accordance with the operation principle of battery fuel gauges, battery fuel gauges may be further divided into three categories, namely a current integration based fuel gauge, a voltage measurement based fuel gauge and an internal impedance measurement based fuel gauge.

A current integration based fuel gauge is based upon an integral of charge and discharge currents of a rechargeable battery pack. More particularly, the battery fuel gauge apparatus detects the electrical charge by means of a sensing device such as a shunt resistor, a Hall Effect transducer, a giant magnetoresistance (GMR) sensor and the like. Furthermore, an analog-to-digital converter (ADC) may convert the analog signal detected by the battery fuel gauge into a digital signal and feed the digital signal to a microprocessor in which a variety of rechargeable battery fuel gauge algorithms may be employed to calculate the state of charge (SOC) of the rechargeable battery pack.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

FIG. 1 illustrates a block diagram of a rechargeable battery fuel gauge system in accordance with an embodiment;

FIG. 2 illustrates a schematic diagram of the charge phase circuit 102A of the battery fuel gauge apparatus 102 shown in FIG. 1;

FIG. 3 illustrates a schematic diagram of the battery phase circuit 102B of the battery fuel gauge apparatus 102 shown in FIG. 1;

FIG. 4 illustrates a block diagram of the detection circuit 104 shown in FIG. 2;

FIG. 5 illustrates a schematic diagram of the sensing device 204 in accordance with an embodiment; and

FIG. 6 illustrates in detail a schematic diagram of the current mirror 202 and the protection device 110 shown in FIG. 2.

Corresponding numerals and symbols in the different figures generally refer to corresponding parts unless otherwise indicated. The figures are drawn to clearly illustrate the relevant aspects of the various embodiments and are not necessarily drawn to scale.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

The making and using of the presently preferred embodiments are discussed in detail below. It should be appreciated, however, that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the invention, and do not limit the scope of the invention.

The present invention will be described with respect to preferred embodiments in a specific context, a battery fuel gauge apparatus. The invention may also be applied, however, to a variety of rechargeable battery packs.

Referring initially to FIG. 1, a block diagram of a rechargeable battery fuel gauge system is illustrated in accordance with an embodiment. The rechargeable battery fuel gauge system 100 may comprise a rechargeable battery 112, a protection device 110 and a battery fuel gauge apparatus 102. The rechargeable battery 112 is coupled between an output terminal of the protection device 110 and ground. The rechargeable battery 112 may be a nickel-cadmium (NiCd) battery, a nickel-metal hydride (NiMH) battery, a lithium-ion battery, a lithium-ion polymer battery, a lithium-air battery, a lithium iron phosphate battery and the like. It should be noted while FIG. 1 shows the rechargeable battery 112 is a single cell, the rechargeable battery 112 may comprise a plurality of rechargeable battery cells connected either in series or in parallel.

The protection device 110 is placed between a terminal of the battery pack 112 and a battery charger (not shown). The protection device 110 may comprise a pair of back-to-back connected p-type metal oxide semiconductor (PMOS) transistors. When the pair of back-to-back connected PMOS transistors is turned off, the pair of back-to-back connected PMOS transistors can block conduction of current in either direction so as to isolate the battery pack 112 from external circuits (not shown). On the other hand, when the pair of back-to-back connected PMOS transistors is activated, the pair of back-to-back connected PMOS transistors can provide a conductive channel for charge and discharge currents. It should be noted that the current flowing through the protection device 110 is equal to that of the battery pack 112. As a result, the discharge and charge of the battery pack 112 can be measured by monitoring the current flowing through the protection device 110.

It should be noted that while the exemplary embodiment of the protection device 110 is a pair of back-to-back connected PMOS transistors, the present invention is applicable to protection devices formed by other system configurations such as a pair of back-to-back connected NMOS transistors and the like. It should further be noted that the present invention is also applicable to a variety of derivatives of the protection configuration described above. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, the scope of the present invention may extend to a protection device coupled between the negative terminal of the battery pack 112 and ground.

The battery fuel gauge apparatus 102 is coupled to the protection device 110. As shown in FIG. 1, the battery fuel gauge apparatus 102 further comprises a charge phase circuit 102A and a battery phase circuit 102B. Both the charge phase circuit 102A and the battery phase circuit 102B are coupled to a detection circuit 104 through a plurality of switches, namely SW1, SW2, SW3 and SW4. When the battery operates in a charge mode, switches SW1 and SW2 are turned on and switches SW3 and SW4 are turned off, as a result, the detected signal from the charge phase circuit 102A is sent to the detection circuit 104. On the other hand, when the battery operates in a battery mode, switches SW1 and SW2 are turned off and switches SW3 and SW4 are turned on, as a result, the detected signal from the battery phase circuit 102B is sent to the detection circuit 104.

In accordance with an embodiment, the fuel gauge apparatus 102 may replicate the current flowing through one PMOS transistor of the protection device 110 using a current mirror. The current mirror (not shown) may comprise a transistor with a ratio of m to M in comparison with the PMOS transistor of the protection device 110. By scaling down the current flowing through the charger 110 by a ratio of M to m, the power consumption of the fuel gauge apparatus 102 is reduced accordingly. The detailed operation of the fuel gauge apparatus 102 will be described below with respect to FIG. 2 and FIG. 3.

The rechargeable battery fuel gauge system 100 may further comprise a detection circuit 104, a coulomb counter 106 and a microprocessor 108. The detection circuit 104, the coulomb counter 106 and the microprocessor 108 are connected in cascade to form a processing unit. The input terminal of the processing unit is coupled to the battery fuel gauge apparatus 102. Through the detection circuit 104, an analog signal generated by the battery fuel gauge apparatus 102 may be amplified to an appropriate level. Furthermore, the amplified analog signal may be converted into its corresponding digital signal.

A coulomb counter 106 is connected in series with the detection circuit 104. The coulomb counter 106 may be a highly accurate sigma-delta analog-to-digital converter (ADC), which is used to measure charge and discharge currents of the battery pack 112. As known in the art, the coulomb counter 106 is capable of providing two modes of operation. When the coulomb counter 106 operates in an instantaneous current conversion mode, the coulomb counter 106 can provide the value of the instantaneous current flowing through a battery as well as the voltage across the battery. In contrast, when the coulomb counter 106 operates in an accumulated current conversion mode, the coulomb counter 106 can provide an average value of the current flowing through the battery during a selected period. For example, the selected period can be 256, 512 or 1024 milliseconds.

The microprocessor 108 has an input coupled to the output of the coulomb counter 106. As known in the art, a variety of battery fuel gauge power management algorithms may be embedded in the microprocessor 108. By employing the fuel gauge power management algorithms, the microprocessor 108 may calculate the remaining capacity of the battery pack 112 so as to report the state of charge (SOC) of the battery pack 112. Furthermore, the microprocessor can take into consideration the environmental and device specific information of a battery to calculate the remaining capacity for each type of battery.

FIG. 2 illustrates a schematic diagram of the charge phase circuit 102A of the battery fuel gauge apparatus 102 shown in FIG. 1. The charge phase circuit 102A may comprise a current mirror 202, a sensing device 204, an n-type metal oxide semiconductor (NMOS) transistor N1 and an operational amplifier 206. The current mirror 202 is coupled to the protection device 110. The current mirror 202 is used to scale down the current flowing through the protection device 110 to a lower level so that the power loss at the sensing device 204 can be reduced accordingly. The charge phase circuit 102A further comprises a first switch SW1 and a second switch SW2. As shown in FIG. 2, when the rechargeable battery 112 operates in a charge mode, both the first switch SW1 and the second switch SW2 are enabled. As shown in FIG. 2, the enabled switches SW1 and SW2 allow the detection circuit 104 to receive a signal detected across the sensing device 204. On the other hand, the battery phase circuit 102B is inactivated by turning off both a third switch SW3 and a fourth switch SW4. The detailed operation of the battery phase circuit will be discussed below with respect to FIG. 3.

The battery fuel gauge apparatus 102 further comprises a fifth switch SW5 and a sixth switch SW6. As shown in FIG. 2, the fifth switch SW5 is coupled between a first terminal of the current mirror 202 and a first terminal of the protection device 110. Similarly, the sixth switch SW6 is coupled between a second terminal of the current mirror 202 and a second terminal of the protection device 110. Control signals CHG and CHG are employed to control the operation of the fifth switch SW5 and the sixth switch SW6. More particularly, CHG is the inverse of CHG. As shown in FIG. 2, when the rechargeable battery 112 operates in a charge mode, CHG turns on the fifth switch SW5 and CHG turns off the sixth switch SW6. On the other hand, when the rechargeable battery 112 operates in a battery mode, the fifth switch SW5 will be turned off and the sixth switch SW6 will be turned on. The operation of the battery mode will be discussed in detail with respect to FIG. 3.

Referring to FIG. 2 again, in order to ensure an accurate scale-down from the protection device 110, the input of the current mirror 202 is coupled to the input of the protection device 110 through a turned-on switch SW5 and the output of the current mirror 202 is forced to be equal to the output of the protection device 110 by employing the operational amplifier 206. More particularly, when uneven voltages at two inputs of the operational amplifier 206 occur, the operational amplifier 206 may adjust the voltage across the NMOS transistor N1 by adjusting the voltage at the gate of the NMOS transistor N1. As a result, the voltage across the current mirror 202 is forced to be equal to that of the protection device 110. The detailed operation principles of the battery fuel gauge apparatus 102 will be further described below with respect to FIG. 6.

FIG. 3 illustrates a schematic diagram of the battery phase circuit 102B of the battery fuel gauge apparatus 102 shown in FIG. 1. A person of ordinary skill in the art will recognize that the configuration of the battery phase circuit 102B is similar to that of the charge phase circuit 102A except that the battery side of the current mirror 302 and the battery side of the protection device 110 are coupled together through a turned-on switch SW6. It should be noted that while FIG. 3 shows the current mirror 302, the battery phase circuit 102B and the charge phase circuit 102A may share the same current mirror (e.g., current mirror 202). Furthermore, the switch SW5 is turned off when the rechargeable battery 112 operates in a battery mode. The operation principles of the battery phase circuit 102B is similar to the operation principles of the charge phase circuit 102, and hence are not discussed in further detail. It should be noted that the first switch SW1 and the second switch SW2 are turned off when the rechargeable battery 112 operates in a battery mode. As a result, the charge phase circuit 102A is disabled during the battery mode. It should further be noted that the battery phase circuit 102B employs a different sensing device 304 in comparison with the charge phase circuit 102A shown in FIG. 2. Furthermore, the battery phase circuit 102B employs a p-type metal oxide semiconductor (PMOS) transistor P3 to achieve the same function of the NMOS transistor N1 shown in FIG. 2. It should also be noted that the PMOS transistor P3 acts to balance the two inputs of the operational amplifier 306 through the sensing device 304. In comparison with the system configuration of FIG. 2, the positive and negative inputs of the operational amplifier 306 are swapped to satisfy the loop feedback requirements of the PMOS transistor.

FIG. 4 illustrates a block diagram of the detection circuit 104 shown in FIG. 2. In accordance with an embodiment, the detection circuit 104 may comprise a sense amplifier 302, an ADC 304 and a digital filter 306. As shown in FIG. 3, the sense amplifier 302, the ADC 304 and the digital filter 306 are connected in cascade. The sense amplifier 302 is used to amplify the signal across the sensing device 204 to a level appropriate for the ADC 304 to convert the analog signal to its corresponding digital signal. The digital filter 306 may be used to digitally manipulate the output signal from the ADC 304 (e.g., adding additional gain or altering the frequency components of the signal from the ADC 304). A down-sampler (not shown) may be included in the digital filter 306 to reduce the transmission rate and increase the data size of the signal chain while the Shannon-Nyquist sampling theorem criterion is still maintained. Additionally, the digital filter 306 provides an anti-aliasing filter in which unwanted noise may be eliminated and wanted signals may be amplified.

FIG. 5 illustrates a schematic diagram of the sensing device 204 in accordance with an embodiment. The sensing device 204 may comprise a first sensing resistor 404 and a second sensing resistor 406 connected in series. The first sensing resistor 404 may be a silicided poly resistor. The second sensing resistor 406 may be a non-silicided poly resistor. In accordance with the characteristics of both resistors, the first sensing resistor 404 formed by silicided poly has a positive temperature coefficient. In contrast, the second sensing resistor 406 formed by non-silicided poly has a negative temperature coefficient. By connecting the first sensing resistor 404 and the second sensing resistor 406 in series, the resistance of the sensing device 204 may remain approximately constant under temperature variations. One skilled in the art will understand the temperature variation compensation scheme based upon the characteristics of silicided poly resistors and non-silicided poly resistors. Therefore, the formation of the sensing device 204 is not discussed in further detail herein. It should be recognized that while FIG. 5 illustrates the sensing device 204 with two resistors connected in series, the sensing device 204 could accommodate any number of resistors connected in series, in parallel or any combinations thereof.

FIG. 6 illustrates in detail a schematic diagram of the current mirror 202 and the protection device 110 shown in FIG. 2. In accordance with an embodiment, the protection device 110 may be a PMOS transistor P1 having a channel width equal to M. It should be noted while FIG. 6 illustrates a single PMOS transistor P1, the protection device 110 may comprise a pair of PMOS transistors back-to-back connected in series. Either PMOS transistor of the back-to-back connected PMOS transistors can be used to form a current amplifier with the current mirror 202. In accordance with an embodiment, the channel width of the PMOS transistor P1 is large to support a smaller on-resistance of the protection device 110.

In order to reduce power consumption, a PMOS transistor P2 having a channel width equal to m is paired with the PMOS transistor P1 to form a current mirror. The gates of the PMOS transistors P1 and P2 are connected each other. The sources of the PMOS transistors P1 and P2 are connected to the same voltage potential INPUT. The drains of the PMOS transistors P1 and P2 are connected to the negative and positive inputs of the operational amplifier 206 respectively. As a result, the operational amplifier 206 can force the voltage at the drain of the PMOS transistor P1 equal to that of the PMOS transistor P2. Because the drains, sources and gates of two PMOS transistors P1 and P2 are of the same voltage potentials, the current flowing through each PMOS transistor is proportional to its channel width. As a result, the transfer ratio of the current mirror formed by the PMOS transistors P1 and P2 is M to m. It should be noted that m is much smaller than M. As such, the current flowing through the PMOS transistor P2 is much less than that flowing through the PMOS transistor P1.

An advantageous feature of having a current mirror with a ratio of M to m is that the power consumption at the sensing device 204 is reduced by a factor of M/m. The total efficiency of the fuel gauge apparatus can be improved as a result. Another advantageous feature of having the current mirror 202 is that the PMOS transistor P1 is usually already in a battery system. By employing the current mirror 202, the current flowing through the PMOS transistor P1 can be detected without the need of an external resistor. As such, such a battery fuel gauge mechanism can save on component and packaging costs.

Although embodiments of the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present invention, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present invention. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps. 

What is claimed is:
 1. A method comprising: coupling a charge phase circuit and a battery phase circuit to a battery through a protection device, wherein the protection device comprises a first transistor, wherein the charge phase circuit comprises a first sensing device, the first sensing device comprising: a first sensing resistor having a positive temperature coefficient; and a second sensing resistor having a negative temperature coefficient, the second sensing resistor connected in series with the first sensing resistor; in a charge mode, turning on a plurality of first switches and turning off a plurality of second switches to connect the charge phase circuit to the battery; and in a battery mode, turning on the plurality of second switches and turning off the plurality of first switches to connect the battery phase circuit to the battery, wherein during a duration of the charge mode and the battery mode the first transistor is turned on.
 2. The method of claim 1, wherein: the charge phase circuit is connected to a processing unit through two switches of the plurality of first switches; and the battery phase circuit is connected to the processing unit through two switches of the plurality of second switches.
 3. The method of claim 2, wherein: the charge phase circuit and the battery phase circuit share a current mirror device and the protection device, wherein the current mirror device is connected to the protection device through one switch of the plurality of first switches and one switch of the plurality of second switches respectively.
 4. The method of claim 3, wherein: the current mirror device comprises a second transistor, wherein: a first terminal of the first transistor is connected to a first terminal of the current mirror device through the one switch of the plurality of first switches; a second terminal of the first transistor is connected to a second terminal of the current mirror device through the one switch of the plurality of second switches; and a gate of the first transistor is connected to a gate of the second transistor.
 5. The method of claim 4, further comprising: during the charge mode, connecting the current mirror device to a power source configured to charge the battery, and disconnecting the current mirror device from a common node of the battery and the protection device; and scaling down a current flowing through the protection device to a lower level current flowing through the first sensing device connected in series between the current mirror device and an n-type transistor.
 6. The method of claim 4, further comprising: during the battery mode, connecting the current mirror device to a common node of the battery and the protection device, and disconnecting the current mirror device from a power source configured to charge the battery; and scaling down a current flowing through the protection device to a lower level current flowing through a second sensing device connected in series between a p-type transistor and the current mirror device.
 7. The method of claim 1, wherein: the first sensing resistor comprises a silicided poly resistor, and the second sensing resistor comprises a non-silicided poly resistor.
 8. A method comprising: coupling a plurality battery fuel gauge circuits to a battery, wherein the plurality battery fuel gauge circuits comprises a plurality of first switches and a plurality of second switches; in a charge mode, connecting a charge phase circuit to the battery through turning on the plurality of first switches and turning off the plurality of second switches; in a battery mode, connecting a battery phase circuit to the battery through turning on the plurality of second switches and turning off the plurality of first switches, wherein the battery phase circuit and the charge phase circuit share a current mirror device, the current mirror device being electrically coupled to a protection device connected in series with the battery; amplifying an analog signal across a sensing device, wherein the sensing device is connected in series with the current mirror device and a transistor, wherein the charge phase circuit comprises the current mirror device, a first resistor and a first transistor connected in series, and a first amplifier, the first amplifier having an output connected to a gate of the first transistor and two inputs connected to the battery and a common node of the current mirror device and the first resistor respectively; and processing a signal across the sensing device through a processing apparatus.
 9. The method of claim 8, wherein: the processing apparatus comprises a detection circuit, a coulomb counter having an input coupled to the detection circuit and a microprocessor having an input coupled to the coulomb counter.
 10. The method of claim 9, wherein the detection circuit comprises: a sense amplifier having two inputs coupled to the sensing device; an analog-to-digital converter coupled to an output of the sense amplifier; and a digital filter coupled to an output of the analog-to-digital converter.
 11. The method of claim 8, wherein the plurality battery fuel gauge circuits comprises the battery phase circuit and the charge phase circuit, and wherein the battery phase circuit comprises a second transistor, a second resistor and the current mirror device connected in series, and a second amplifier having an output connected to a gate of the second transistor and two inputs connected to the protection device, and a common node of the current mirror device and the second resistor.
 12. The method of claim 11, further comprising: in the charge mode, turning on a first switch and turning off a second switch, wherein the first switch is placed across the two inputs of the second amplifier and the second switch is placed across the two inputs of the first amplifier.
 13. The method of claim 11, further comprising: in the battery mode, turning off a first switch and turning on a second switch, wherein the first switch is placed across the two inputs of the second amplifier and the second switch is placed across the two inputs of the first amplifier.
 14. The method of claim 11, wherein: the first transistor is an n-type transistor; and the second transistor is a p-type transistor.
 15. A method comprising: providing a battery fuel gauge apparatus comprising: a charge phase circuit connected to a processing unit through a first switch and a second switch; a battery phase circuit connected to the processing unit through a third switch and a fourth switch; and a current mirror device and a protection device shared by the charge phase circuit and the battery phase circuit, wherein a first terminal of the current mirror device is connected to a first terminal of the protection device through a fifth switch and a second terminal of the current mirror device is connected to a second terminal of the protection device through a sixth switch, wherein the protection device comprises a pair of back-to-back transistors connected in series; in a charge mode, turning on the first switch, the second switch and the fifth switch, and turning off the third switch, the fourth switch and the sixth switch; and in a battery mode, turning on the third switch, the fourth switch and the sixth switch, and turning off the first switch, the second switch and the fifth switch.
 16. The method of claim 15, wherein: in the charge mode, a sensing device is connected to the current mirror device; a transistor is connected between the sensing device and ground; and an operational amplifier has a first input connected to the protection device, a second input connected to the current mirror device and an output connected to a gate of the transistor.
 17. The method of claim 15, wherein: in the battery mode, a sensing device is connected to the current mirror device; a transistor is connected between the sensing device and the first terminal of the protection device; and an operational amplifier has a first input connected to the protection device, a second input connected to the current mirror device and an output connected to a gate of the transistor.
 18. The method of claim 15, further comprising: amplifying an analog signal across a sensing device; converting the analog signal into a digital signal; and filtering off unwanted noise.
 19. The method of claim 15, further comprising: providing an instantaneous value of a current flowing through the protection device; and providing an average value of the current flowing through the protection device.
 20. The method of claim 15, further comprising: calculating a capacity level of a battery pack coupled to the battery fuel gauge apparatus; and reporting the capacity level of a battery pack. 